<template name="gateway">
	<view>
		<scroll-view :scroll-y="modalName==null" class="page" :class="modalName!=null?'show':''">
		<view class="box">
			<uni-drawer ref="showmanage" :width="320" mode="right">
					<!-- <button @click="closeDrawer">关闭Drawer</button> -->
					<view class="formbox">
						<view class="positop">
							<view class="h5">场所管理</view>
							<uni-search-bar @confirm="search" @input="input"></uni-search-bar>
							<view class="h4"><view class="span">总数：38家</view><view class="icon icon-shaixuan" @click="twoshaixuan('5.1')">筛选</view></view>
						</view>
		
						<uni-forms ref="form" :modelValue="formData">
							<view class="ul" v-for="item in 10">
								<view class="c1 bootm">深圳市龙岗区捷程职业技术培训学校</view>
								<view class="c2 bootm">新南社区</view>
								<view class="c3 bootm">场所编码:XN-GG-0001</view>
								<view class="c4 bootm">广东省深圳龙狮广东省深圳龙狮广东省深圳龙狮广东省深圳龙狮广东省深圳龙狮</view>
								<view class="c4 bootm">广东省深圳ddd</view>
								<!-- <view class="c5">评分：80分</view> -->
							</view>
		
						</uni-forms>
					</view>
				<!-- 	<view class="uni-btn-v">
						<button type="warn" @click="submit">提交</button>
					</view> -->
			</uni-drawer>
		</view>
		</scroll-view>

	</view>
</template>

<script>
	import searchinput from '../component/searchinput.vue'
	import analysisdrawer from '../component/analysisdrawer.vue'
	export default {

		name: 'gateway',
		props: {
			cur: String,
		},
		watch: {

		},
		data() {
			return {
				modalName: null,
				formData: {
					checkStartTime: '',
				}
			}
		},
		methods: {
			twoshaixuan(num){
				this.$emit('clickBrotherBtn',num)
			},
			showDrawer() {
				this.$refs["showmanage"].open();
			},
			closeDrawer() {
				this.$refs["showmanage"].close();
			},
		},
		components: {
			searchinput
		}
	}
</script>

<style scoped lang="scss">
	.box .formbox .h4 {
	    color: #007aff;
	    font-size: 16px;
	    display: flex;
	    justify-content: space-between;
	}
	.uni-drawer {
	    z-index: 999998 !important;
	}
</style>
